e89e9b1c32dfd3bc860826de012f05760ac883c7,src/test-30/java/org/thymeleaf/aurora/engine/ProcessorIteratorTest.java,ProcessorIteratorTest,testProcessorIteration06,#,159

Before Change


                buildHTMLDialect("standard", "th",
                        "N-ELEMENT-10-null-src,N-ELEMENT-5-null-src,N-ELEMENT-2-null-one");

        final IOpenElementTag tag = computeHtmlTag("<a th:src='hello'>", dialect);
        final IProcessorIterator iterator = tag.getAssociatedProcessorsIterator();

        tag.getAttributes().removeAttribute("th:src");
        Assert.assertNull(iterator.next());

After Change


                ProcessorAggregationTestDialect.buildHTMLDialect("standard", "th",
                        "N-ELEMENT-10-null-src,N-ELEMENT-5-null-src,N-ELEMENT-2-null-one");

        final TagObtentionTemplateHandler handler = computeHtmlTag("<a th:src='hello'>", dialect, false);
        final ProcessorIterator iterator = handler.iter;
        final IOpenElementTag tag = handler.tag;

        tag.getAttributes().removeAttribute("th:src");
        Assert.assertNull(iterator.next());